/**
* Copyright (c) 2022 Beijing Jiaotong University
* PhotLab is licensed under [Open Source License].
* You can use this software according to the terms and conditions of the [Open Source License].
* You may obtain a copy of [Open Source License] at: [https://open.source.license/]
* 
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
* 
* See the [Open Source License] for more details.
* 
* Author: Zhenjie Wei
* Created: Mar. 22, 2023
* Supported by: National Key Research and Development Program of China
*/

@import "./sys_center.scss";
@import "./sys_compo.scss";
@import "./sys_message.scss";
@import "./sys_resource.scss";
@import "./sys_toolbar.scss";

@mixin phot-system-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
    &-toolbar {
        width: 100%;
        flex-shrink: 0;
        .toolbar-content {
            @include phot-system-content-toolbar;
        }
    }
    &-main {
        flex: 1;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        box-sizing: border-box;
        .left {
            @include phot-system-content-resource;
        }
        .center {
            @include phot-system-content-center;
        }
        .right {
            @include phot-system-content-component;
        }
    }
}

@mixin phot-system-content-dark {
    &-toolbar {
        .toolbar-content {
            @include phot-system-content-toolbar-dark;
        }
    }
    &-main {
        .left {
            @include phot-system-content-resource-dark;
        }
        .center {
            @include phot-system-content-center-dark;
        }
        .right {
            @include phot-system-content-component-dark;
        }
    }
}
